/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif.transaction;

import com.keybridgeglobal.wsif.Channel;
import com.keybridgeglobal.wsif.Location;
import com.keybridgeglobal.wsif.Schedule;
import com.keybridgeglobal.wsif.enumerated.EnumWsifWsdMode;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;

/**
 * <p>Java class for whitespaceFrequency complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <
 * pre>
 * &lt;complexType name="whitespaceFrequency">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{}channel"/>
 *         &lt;element ref="{}location"/>
 *         &lt;element ref="{}schedule"/>
 *         &lt;element name="wsdModeList" type="{}enumWsifWsdMode" maxOccurs="unbounded"/>
 *         &lt;element name="extension" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="maxEirp" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "whitespaceFrequency", propOrder = {
  "channel",
  "location",
  "schedule",
  "wsdModeList",
  "extension"
})
@XmlRootElement
public class WhitespaceFrequency {

  @XmlElement(required = true)
  protected Channel channel;
  @XmlElement(required = true)
  protected Location location;
  @XmlElement(required = true)
  protected Schedule schedule;
  @XmlElement(required = true)
  protected List<EnumWsifWsdMode> wsdModeList;
  protected String extension;
  @XmlAttribute(name = "uuid", required = true)
  protected String uuid;
  @XmlAttribute(name = "maxEirp", required = true)
  protected double maxEirp;

  /**
   * Gets the value of the channel property.
   * <p/>
   * @return possible object is {@link Channel }
   *
   */
  public Channel getChannel() {
    return channel;
  }

  /**
   * Sets the value of the channel property.
   * <p/>
   * @param value allowed object is {@link Channel }
   *
   */
  public void setChannel(Channel value) {
    this.channel = value;
  }

  /**
   * Gets the value of the location property.
   * <p/>
   * @return possible object is {@link Location }
   *
   */
  public Location getLocation() {
    return location;
  }

  /**
   * Sets the value of the location property.
   * <p/>
   * @param value allowed object is {@link Location }
   *
   */
  public void setLocation(Location value) {
    this.location = value;
  }

  /**
   * Gets the value of the schedule property.
   * <p/>
   * @return possible object is {@link Schedule }
   *
   */
  public Schedule getSchedule() {
    return schedule;
  }

  /**
   * Sets the value of the schedule property.
   * <p/>
   * @param value allowed object is {@link Schedule }
   *
   */
  public void setSchedule(Schedule value) {
    this.schedule = value;
  }

  /**
   * Gets the value of the wsdModeList property.
   * <p/>
   * <p> This accessor method returns a reference to the live list, not a
   * snapshot. Therefore any modification you make to the returned list will be
   * present inside the JAXB object. This is why there is not a
   * <CODE>set</CODE> method for the wsdModeList property.
   * <p/>
   * <p> For example, to add a new item, do as follows:
   * <pre>
   *    getWsdModeList().add(newItem);
   * </pre>
   * <p/>
   *
   * <p> Objects of the following type(s) are allowed in the list
     * {@link EnumWsifWsdMode }
   *
   *
   */
  public List<EnumWsifWsdMode> getWsdModeList() {
    if (wsdModeList == null) {
      wsdModeList = new ArrayList<EnumWsifWsdMode>();
    }
    return this.wsdModeList;
  }

  /**
   * Gets the value of the extension property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getExtension() {
    return extension;
  }

  /**
   * Sets the value of the extension property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setExtension(String value) {
    this.extension = value;
  }

  /**
   * Gets the value of the uuid property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getUuid() {
    return uuid;
  }

  /**
   * Sets the value of the uuid property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setUuid(String value) {
    this.uuid = value;
  }

  /**
   * Gets the value of the maxEirp property.
   * <p/>
   */
  public double getMaxEirp() {
    return maxEirp;
  }

  /**
   * Sets the value of the maxEirp property.
   * <p/>
   */
  public void setMaxEirp(double value) {
    this.maxEirp = value;
  }
}
